{if condition ="strtolower(request()->controller()) == 'distribution' && strtolower(request()->action()) == 'mytrader'"}
<!--分销关系表-->
{volist name="dataList" id="vo"}
<tr>
    <td><a href="#">{$key+1}</a></td>
    <td>{$vo.nickname}</td>
    <td>{$vo.first_nickname}</td>
    <td>{$vo.second_nickname}</td>
    <td>{$vo.third_nickname}</td>
    <td>{$vo.create_time|date="Y-m-d H:i",###}</td>
    <td data-pid="{$vo.id}">
        <a href="{:url('Distribution/mytraderdetail',array('id'=>$vo['id']))}" target="_blank">
            <button class="btn btn-primary btn-xs" title="编辑"><i class="icon-pencil"></i></button>
        </a>
    </td>
</tr>
{/volist}
{/if}


{if condition ="strtolower(request()->controller()) == 'distribution' && strtolower(request()->action()) == 'income'"}
<!--佣金明细表-->
{volist name="dataList" id="vo"}
<tr>
    <td><a href="#">{$key+1}</a></td>
    <td>{$vo.nickname}</td>
    <td>{$vo.distributor_nickname}</td>
    <td>{$vo.ordernumber}</td>
    <td>{$vo.money}</td>
    <td>{$vo.take_money}</td>
    <td>{$vo.rank}</td>
    <td>{$vo.create_time|date="Y-m-d H:i",###}</td>
</tr>
{/volist}
{/if}